﻿using CMWVS.Core;
using CMWVS.Core.Mono;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace bleissem.CMWVS.UI.ViewModels
{
    public class OptionsViewModel : ViewModelBase
    {
        #region Constructor

        private OptionsViewModel()
        {
        }

        public OptionsViewModel(Resolver resolver)
        {
            MonoConfig monoConfig = resolver.Get<MonoConfig>();
            if (null != monoConfig)
            {
                if (null != monoConfig.BaseDirectory)
                {
                    this.m_MonoDir = monoConfig.BaseDirectory.FullName;
                }
            }
        }

        #endregion Constructor

        private string m_MonoDir = null;

        public string MonoDir
        {
            get
            {
                return m_MonoDir;
            }
        }
    }
}